package com.woniuxy.cinemaServer.exception.seat;

public enum SeatExceptionCode {
    SEAT_NOT_EXIST(50001,"座位厅不存在"),
    SEAT_HAD_EXIST(50002,"座位厅已存在"),
    SEAT_STATE_ERROR(50003,"座位状态异常"),
    SEAT_USEFUL_LACK(50004,"可用座位不足"),
            ;
    private Integer code;
    private String message;

    SeatExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
